package common.plugins.tbs;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

public class shareWX {


    /**
     * id : 273336581509746688
     * title : %E6%97%A5%E4%BA%A7%E8%BD%A9%E9%80%B8 2019%E6%AC%BE 1.6XV CVT %E6%99%BA%E8%81%94%E5%B0%8A%E4%BA%AB%E7%89%88
     * headImage : https://cxqc-2019.oss-cn-hangzhou.aliyuncs.com/20190426/266b504d-f715-4223-9711-2a768db30514
     * downPay : 10%
     * monthFeed : 4247
     * periods : 36
     */

    private String id;
    private String title;
    private String headImage;
    private String downPay;
    private int monthFeed;
    private int periods;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        try {
            return URLDecoder.decode(title, "UTF-8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
        return "";
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public String getDownPay() {
        return downPay;
    }

    public void setDownPay(String downPay) {
        this.downPay = downPay;
    }

    public int getMonthFeed() {
        return monthFeed;
    }

    public void setMonthFeed(int monthFeed) {
        this.monthFeed = monthFeed;
    }

    public int getPeriods() {
        return periods;
    }

    public void setPeriods(int periods) {
        this.periods = periods;
    }
}
